<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>探花交友</title>
    <meta name="keywords" content="探花交友，探花交友" />
    <meta name="description" content="探花交友欢迎您。" />
    <link rel="stylesheet" href="/css/pintuer.css">
    <link rel="stylesheet" href="/css/admin.css">
    <script src="/js/jquery.js"></script>
    <script src="/js/vuejs-2.5.16.js"></script>
    <script src="/js/axios-0.18.0.js"></script>
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="/images/y.jpg" class="radius-circle rotate-hover" height="50" alt="" />后台管理中心</h1>
  </div>
  <div class="head-l"><a class="button button-little bg-green" href="" target="_blank"><span class="icon-home"></span> 前台首页</a>
      <a class="button button-little bg-red" href="/login.jsp"><span class="icon-power-off"></span> 退出登录</a> </div>
</div>
<div class="leftnav" id="app">
  <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
  <h2><span class="icon-user"></span>基本设置</h2>
  <ul style="display:block">
    <li><a href="/pass.html" target="right"><span class="icon-caret-right"></span>修改密码</a></li>
    <li><a href="javascript:void(0)" target="right"><span class="icon-caret-right"></span>单页管理</a></li>
    <li><a href="javascript:void(0)" target="right"><span class="icon-caret-right"></span>栏目管理</a></li>
  </ul>
    <h2><span class="icon-pencil-square-o"></span>灵魂问卷管理</h2>
    <ul style="display:block" >
        <li v-for="test in list"><a :href="'/question.html?/management/soulTestId='+test.id" target="right"><span class="icon-caret-right"></span>{{test.name}}</a></li>
    </ul>
  <h2><span class="icon-pencil-square-o"></span>栏目管理</h2>
  <ul style="display:block">
      <li><a href="javascript:void(0)" target="right"><span class="icon-caret-right"></span>分类管理</a></li>
      <li><a href="/banner_list.html" target="right"><span class="icon-caret-right"></span>首页轮播</a></li>
      <li><a href="/movies_list.html" target="right"><span class="icon-caret-right"></span>影视管理</a></li>
      <li><a href="javascript:void(0)" target="right"><span class="icon-caret-right"></span>评论管理</a></li>
      <li><a href="/admin_list.html" target="right"><span class="icon-caret-right"></span>用户管理</a></li>
  </ul>
</div>
<script type="text/javascript">
$(function(){
    $(".leftnav h2").click(function () {
        $(this).next().slideToggle(200);
        $(this).toggleClass("on");
    });
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});
</script>
<ul class="bread">
  <li><a href="{:U('Index/info')}" target="right" class="icon-home"> 首页</a></li>

</ul>
<div class="admin">
  <iframe scrolling="auto" rameborder="0" src="/welcome.html" name="right" width="100%" height="100%"></iframe>
</div>
<script>
    const app=new Vue({
        el: '#app',
        data:{
            username:"登录",
            list:[]
        },
        methods:{
            findSoulTest(){
                axios.get("/management/soulTest")
                    .then(resp=>{
                        this.list=resp.data;
                        console.log(this.list)
                    })
            }
        },
        created(){
            this.findSoulTest()
        }
    })
</script>
</body>
</html>